#define   _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>

void main()
{
	long s = 0, a = 0, b = 12345678;

	for (a = 1; a <= 8; a++)
	{
		s = s + b;
		b = b / 10;
	}
	printf("sum = %d\n",s);
}